@fontColorWhite: #fff;
@fontColorNormal: #8992A7;
@fontColorShallow: #8992a7;
@fontColorlink: #1F92EF;
@fontColorTrigger: #3781f4;
@fontColorDesAsset: #00be15;
@fontColorDesLink: #00be15;
@fontColorDesVirus: #ee0800;
@fontColorDesProto: #5f9eff;
@fontColorDesPatch: #9400d3;
@borderColor: #eee;
@bgColorlight: #F8F8F8;
@bgColorDeep: #1F92EF;
.at-autocomplete-suggestion .at-scrollbar .at-autocomplete-suggestion__wrap {
  margin-bottom: -23px!important;
  overflow-x: hidden;
}
#safeEvents {
  .safeEvents-title {
    padding-left: 20px;
    height: 50px;
    line-height: 50px;
    font-size: 14px;
    font-weight: bold;
    border-bottom: 1px solid #eee;
    color: #5c6781;
  }
  .safeEvents-content {
    padding: 0 20px 20px;
  }
  .main-wrap {
    border: 1px solid #eee;
    padding: 0 0px 20px;
    margin-top: 20px;
    .main-title {
      border-bottom: 1px solid #eee;
      height: 50px;
      line-height: 50px;
      padding-left: 20px;
      color: #5c6781;
      font-size: 12px;
      font-weight: bold;
      color: #5c6781
    }
    #operation-wrap {
      padding: 10px 20px 0px;
      .saas-icon-note-sec, .saas-icon-res-left, .saas-icon-res-right{
        font-size: 20px;
        vertical-align: sub;
        margin-right: 5px;
        vertical-align: -4px;
      }
    }
    .table-main-wrap {
      padding: 0 20px;
      .level-tag{
        width:50px;
        height: 22px;
        line-height: 20px;
        border-radius: 2px;
        display: inline-block;
        text-align: center;
        background-color: #ffffff;
      }
      .level-tag-normal{
          color:#52cb7b;
          border:1px solid #52cb7b;
      }
      .level-tag-low-risk{
          color:#FFC833;
          border:1px solid #FFC833;
      }
      .level-tag-middle-risk{
          color:#FF9933;
          border:1px solid #FF9933;
      }
      .level-tag-high-risk{
          color:#FF6633;
          border:1px solid #FF6633;
      }
      .level-tag-serious{
          color:#FF3333;
          border:1px solid #FF3333;
      }
    }
  }
  
  background: #fff;
  color: @fontColorNormal;
  font-size: 12px;
  font-family: '宋体';
  .unclickable {
    cursor: not-allowed;
  }
  #filterDialog {
    .at-dialog-box {
      .at-dialog__header {
        padding: 10px 0px 0;
        .at-dialog__title {
          margin-left: 20px;
          color: #5c6781;
          font-size: 14px;
          font-weight: 700;
        }
        .at-dialog__headerbtn, .at-dialog__headerbtn:focus {
          height: 18px;
        }
      }
      .at-dialog--larger {
        width: 900px;
        .at-dialog__body {
          padding: 0px;
          border-top: 1px solid #eee;
          margin-top: 10px;
        }
      }
      .at-form-item__content {
        margin-right: 0px;
      }
    }
  }
  #group-label {
    .group-wrap {
      width: 100%;
      display: flex;
      display: -webkit-flex;
      list-style: none;
      flex-flow: row nowrap;
      border-left: 1px solid @borderColor;
      padding-left: 0px;
      .groupItem {
        flex: 1;
        border: 1px solid @borderColor;
        border-left: none;
        text-align: center;
        line-height: 40px;
        height: 40px;
        background: @bgColorlight;
        cursor: pointer
      }
      .selectedLabel {
        background: #fff;
        border-bottom: none;
      }
    }
  }
  #groupDetail {
    border: 1px solid @borderColor;
    border-top: none;
    padding: 0px;
    .content {
      display: flex;
      .left {
        padding: 20px;
        // flex: 1;
        width: 380px;
        border-right: 1px solid #eee;
        // height: 396px;
        .left__table {
          width: 380px;
          height: 400px;
          td {
            height: 37px;
            border: none;
          }
        }
        .btn-download {
          margin-top: 10px;
          .saas-icon-res-down {
            font-size: 20px;
            vertical-align: sub;
            margin-right: 5px;
            vertical-align: -4px;
          }
        }
        .at-table th {
          height: 37px;
          .cell {
            font-weight: normal;
          }
        }
        // 滚动条
        .at-table__body-wrapper {
          height: 357px;
          overflow: scroll;
          overflow-x: hidden;
          overflow-y: auto;
          tbody {
            tr {
              td:nth-child(2) {
                div {
                  text-align: right;
                }
              }
            }
          }
        }
        .at-table__body-wrapper::-webkit-scrollbar {
          width: 10px;
        }
        .at-table__body-wrapper::-webkit-scrollbar-track {
          background: #f3f5f9;
        }
        .at-table__body-wrapper::-webkit-scrollbar-thumb {
          background: #d0d4dd;
          border-radius: 4px;
          width: 8px;
        }
        .at-table__body-wrapper::-webkit-scrollbar-corner {
          background: #82afff;
        }
        .at-table__body-wrapper::-webkit-scrollbar-resizer {
          background: #ff0bee;
        }
      }
      .right {
        margin: 20px;
        width: 100%;
        height: 410px;
        .at-tabs__content {
          margin-top: -1px;
          padding: 0;
          height: 410px;
        }
        .at-tabs__nav-scroll {
          height: 33px;
          overflow: visible;
          border-bottom: 1px solid #eee;
          .at-tabs__nav, .at-tabs__item {
            height: 33px;
          }
          .at-tabs__item {
            border: none;
            background: #fff;
            border-bottom: 1px solid #eee;
          }
          .at-tabs__item.is-active{
            border: none;
            border-bottom: 1px solid #5397FF;
          }
        }
      }
    }
  }
  #tool-bar {
    height: 30px;
    margin-top: 30px;
    #datepick {
      height: 30px;
      .at-icon-time {
        top: 7px !important;
      }
      .at-input__inner {
        padding: 0 0 0 18px;
        height: 30px;
        cursor: pointer;
      }
    }
    .search-btn-wrap {
      display: inline-block;
      border: 1px solid #eee;
      height: 30px;
      width: 30px;
      font-size: 20px;
      border-radius: 2px;
      text-align: center;
      margin-left: 4px;
      vertical-align: middle;
      margin-top: -2px;
      padding-top: 4px;
      cursor: pointer;
      background: #1F92EF;
      color: #c2e2fb;
      .saas-icon-glass {
        vertical-align: 2px;
      }
    }
    .box-search-wrap {
      display: inline-block;
      position: relative;
      .box-search {
        z-index: 1;
        margin-left: -6px;
        width: 341px;
        height: 30px;
        border: 1px solid @borderColor;
        border-left: 0;
        border-right: 1px solid #eee;
        .at-input {
          width: 340px;
          height: 30px;
          .at-input__clear {
            cursor: pointer;
          }
        }
        .at-input__inner {
          width: 340px;
          height: 28px;
          border: 0;
        }
      }
      .icon-clear {
        cursor: pointer;
        display: inline-block;
        z-index: 9;
        position: absolute;
        top: 7px;
        right: 13px;
        width: 15px;
        height: 15px;
        background: url('../../../images/safeEvents/clear.png') no-repeat center left;
      }
      .clear-visible {
        display: none;
      }
    }
    .btn-search {
      margin-left: -3px;
      width: 91px;
      height: 30px;
      background: @bgColorDeep;
    }
    .searchNum {
      display: inline-block;
      margin-left: 10px;
      .num {
        color: @fontColorlink;
      }
    }
  }
  .btn-option {
    display: flex;
    border: 1px solid #eee;
    border-bottom: none;
    font-size: 12px;
    padding-left: 20px;
    margin-top: 20px;
    .img-group {
      font-size: 27px;
      margin: 4px;
    }
    .title {
      display: block;
      margin: 15px 2px 15px 0;
      height: 20px;
      color: #5c6781;
      line-height: 20px;
      text-align: center;
      font-weight: bold;
    }
  }
  #group-list {
    margin: 0 0 8px 0;
    width: 100%;
    border: 1px solid @borderColor;
    .item {
      overflow: hidden;
      display: flex;
      .title {
        padding-right: 30px;
        width: 200px;
        flex: 0 0 auto;
        color: @fontColorNormal;
        text-align: right;
        line-height: 42px;
        background-color: @bgColorlight;
      }
      .info {
        flex: 1;
        line-height: 42px;
        height: 42px;
        .list {
          margin-right: 20px;
          display: flex;
          .checkBtnGroup {
            margin: 0px 0px 0px 25px;
            flex: 1;
            line-height: 42px;
            .count {
              color: @fontColorNormal;
            }
            .at-checkbox-group {
              height: 40px;
              line-height: 40px;
              overflow: hidden;
              .at-checkbox-button {
                margin-right: 10px;
                overflow: hidden;
                height: 40px;
                margin-bottom: 0px;
                line-height: 40px;
                .at-checkbox-button__inner {
                  font-size: 12px;
                  color: @fontColorNormal;
                  padding: 6px 11px;
                  border: 1px solid transparent;
                  border-radius: 0;
                  bottom: 1px;
                  &:hover {
                    color: @fontColorlink;
                    border: 1px solid #fff;
                  }
                }
              }
              .is-checked {
                .at-checkbox-button__inner {
                  background: #fff;
                  color: @fontColorlink;
                  border: 1px solid @fontColorlink;
                  &:hover {
                    border: 1px solid @fontColorlink;
                  }
                }
              }
              
            }
            .showMore {
              height: auto;
            }
          }
          .more {
            width: 30px;
            height: 42px;
            line-height: 42px;
            text-align: right;
            .btn-more {
              color: @fontColorlink;
              cursor: pointer;
              &:hover {
                color: @fontColorTrigger;
                text-decoration: underline;
              }
            }
            .showBtnMore {
              display: none;
            }
          }
          .detail {
            padding-right: 3px;
            width: 33px;
            height: 42px;
            line-height: 42px;
            text-align: right;
            .btn-detail {
              display: inline-block;
              width: 30px;
              height: 42px;
              cursor: pointer;
              background: url('../../../images/safeEvents/details.png') no-repeat center right;
            }
          }
        }
        .groupLineBorder {
          border-top: 1px dotted @borderColor;
        }
        // 清除checkbox组件默认样式
        .at-checkbox {
          height: 42px;
          overflow: hidden;
        }
      }
    }
    .none-data {
      padding: 10px;
      text-align: center;
    }
  }
  .at-dialog-box {
    .at-form-item__content .at-input .at-input__inner {
      text-align: left;
    }
    .saas-icon-cube-add:before, .saas-icon-cube-del:before {
      color: @fontColorlink;
    }
  }
  .file-export {
    .dialog-body {
      margin: 0 auto;
      display: table;
      .body-title {
        font-size: 12px;
        padding-right: 20px;
      }
      .item {
        padding-right: 20px;
      }
    }
  }
  #operation-wrap {
    .at-button+.at-button {
      margin-left: 8px;
    }
  }
  #table-main {
    table {
      border-collapse: separate;
    }
    thead {
      border: 1px solid @borderColor;
    }
    td {
      height: 37px;
    }
    .cell {
      font-size: 12px;
    }
    .time {
      color: @fontColorShallow;
    }
    .tags {
      float: left;
      margin: 0px 5px 0 0;
    }
  }
  #bottom {
    text-align: center;
    margin-top: 18px;
    .pageWrap {
      display: inline-block;
    }
    .btn-info {
      display: inline-block;
      width: 28px;
      height: 15px;
      vertical-align: -4px;
      background: url('../../../images/safeEvents/info.png') no-repeat center center;
    }
  }
}
